package cn.com.duiba.millionaire.center.api.dto;

import cn.com.duiba.millionaire.center.api.enums.CreditsConsumeStatusTypeEnum;
import cn.com.duiba.thirdparty.enums.CreditsConsumeTypeEnum;

import java.io.Serializable;
import java.util.Date;

/**
 * @author kimi
 */
public class CreditsConsumeLogDto implements Serializable {
    private static final long serialVersionUID = 5454155825314635342L;
    
    /** 
     * id 
     **/
    private Long id;
    /** 
     * 用户ID 
     **/
    private Long consumerId;
    /** 
     * 用户uid,冗余字段 
     **/
    private String partnerUserId;
    /** 
     * APPID，冗余字段，用于用户统计 
     **/
    private Long appId;
    /** 
     * 业务类型，1：冲顶大会扣积分 
     **/
    private CreditsConsumeTypeEnum bizType;
    /** 
     * 业务编码
     **/
    private String bizNo;
    /** 
     * 开发者业务号 
     **/
    private String developerBizId;
    /** 
     * 扣积分数 
     **/
    private Integer credits;
    /** 
     * 扣积分状态
     **/
    private CreditsConsumeStatusTypeEnum conStatus;
    /** 
     * 用户ip 
     **/
    private String envIp;
    /** 
     * 失败信息用于管理端展示 
     **/
    private String error4Admin;
    /** 
     * 失败信息用于展示给开发者 
     **/
    private String error4Developer;
    /** 
     * 扣积分失败给用户的信息 
     **/
    private String error4Consumer;
    /** 
     * 创建时间 
     **/
    private Date gmtCreate;
    /** 
     * 修改时间 
     **/
    private Date gmtModified;

    public void setId(Long value) {
        this.id = value;
    }
    public Long getId() {
        return this.id;
    }
    
    public void setConsumerId(Long value) {
        this.consumerId = value;
    }
    public Long getConsumerId() {
        return this.consumerId;
    }
    
    public void setPartnerUserId(String value) {
        this.partnerUserId = value;
    }
    public String getPartnerUserId() {
        return this.partnerUserId;
    }
    
    public void setAppId(Long value) {
        this.appId = value;
    }
    public Long getAppId() {
        return this.appId;
    }

    public CreditsConsumeTypeEnum getBizType() {
        return bizType;
    }

    public void setBizType(CreditsConsumeTypeEnum bizType) {
        this.bizType = bizType;
    }

    public String getBizNo() {
        return bizNo;
    }

    public void setBizNo(String bizNo) {
        this.bizNo = bizNo;
    }

    public void setDeveloperBizId(String value) {
        this.developerBizId = value;
    }
    public String getDeveloperBizId() {
        return this.developerBizId;
    }
    
    public void setCredits(Integer value) {
        this.credits = value;
    }
    public Integer getCredits() {
        return this.credits;
    }

    public CreditsConsumeStatusTypeEnum getConStatus() {
        return conStatus;
    }

    public void setConStatus(CreditsConsumeStatusTypeEnum conStatus) {
        this.conStatus = conStatus;
    }

    public void setEnvIp(String value) {
        this.envIp = value;
    }
    public String getEnvIp() {
        return this.envIp;
    }

    public String getError4Admin() {
        return error4Admin;
    }

    public void setError4Admin(String error4Admin) {
        this.error4Admin = error4Admin;
    }

    public String getError4Developer() {
        return error4Developer;
    }

    public void setError4Developer(String error4Developer) {
        this.error4Developer = error4Developer;
    }

    public String getError4Consumer() {
        return error4Consumer;
    }

    public void setError4Consumer(String error4Consumer) {
        this.error4Consumer = error4Consumer;
    }

    public void setGmtCreate(Date value) {
        this.gmtCreate = value;
    }
    public Date getGmtCreate() {
        return this.gmtCreate;
    }
    
    public void setGmtModified(Date value) {
        this.gmtModified = value;
    }
    public Date getGmtModified() {
        return this.gmtModified;
    }
    
    
}

